@extends('homeLayouts.master')
@push('css')
    <link rel="stylesheet" type="text/css" href="{{asset('org/home/css')}}/ziy.css">
@endpush
@section('content')
    <!--轮播图上方导航栏  一栏-->
    <div id="navv" class="navv_ziy">
        <div class="focus">
            <div class="focus-a">
                <div class="fouc-font fouc_font_ziy">
                    <a href="javascript:;">全部商品分类</a>
                </div>
            </div>
            <div class="focus-b">
                <ul>
                    <li><a href="#"></a></li>
                </ul>
            </div>

            <!--左边导航-->

            <!--左边导航结束-->
        </div>
    </div>
    <script type="text/javascript">
        (function(){
            var $subblock = $(".subpage"), $head=$subblock.find('h2'), $ul = $("#proinfo"), $lis = $ul.find("li"), inter=false;
            $head.mouseover(function(e){
                e.stopPropagation();
                if(!inter){
                    $ul.show();
                }else{
                    $ul.hide();
                }
                inter=!inter;
            });

            $ul.mouseover(function(event){
                event.stopPropagation();
            });

            $(document).mouseover(function(){
                $ul.hide();
                inter=!inter;
            });
        })();
    </script>
    <!--加入购物车-->
    <div class="beij_center">
        <div class="jiar_gouw_c_beij">
            <div class="msg"><i class="c_i_img"></i>商品已成功加入购物车！</div>
            <div class="shangp_jr">
                <div class="jr_zuo">
                    <a href="#" class="jr_tu"><img src="{{$goods['pics'][0]}}"></a>
                    <div class="jr_biaot">
                        <p><a href="#">{{$goods['name']}}</a></p>
                        <p class="spandf">
                            @foreach($attrs as $v)
                            <span>{{$v}}</span>
                            @endforeach
                            <span>数量：{{$num}}</span></p>
                    </div>
                </div>
                <div class="jr_you">
                    <a href="javascript:history.go(-1)" class="jr_fanh">返回</a>
                    <a href="{{route('cart.cartList')}}" class="jr_qv_gouw_che">去购物车结算<em class="jr_jiant"></em></a>
                </div>
            </div>
        </div>
    </div>




@endsection
